Follow-up: Complete Configurable Versioning (from PR #33)#38
Merged
PaulWinterstein merged 13 commits intoMay 29, 2025
Merged
Conversation
…nsure import of updated drivers.py
…eck version at VideoIPathApp init and refactor script modules
3 tasks
…ate paths to avoid generic naming and potential import conflicts, write poetry.lock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR completes the follow-up tasks from Issue #35, building on the foundation established in PR #33.
Version Compatibility Checks
Two mechanisms were introduced to validate compatibility between the connected VideoIPath server and the local model configuration:
Basic Check (always enabled): Compares the connected VideoIPath server version with the configured version. If a mismatch occurs and the server version is found among the available versions or a fallback version can be determined, a message is logged with instructions on how to set this version.
Advanced Check (optional, enabled by default): Compares the driver schema model — focusing on custom settings — against the reference schema retrieved from the server. This check is enabled by default but can be disabled via the
VIPAT_ADVANCED_DRIVER_SCHEMA_CHECKenvironment variable or a function parameter inVideoIPathApp. It highlights differences such as removed drivers, newly added ones, or changes to custom settings.Additional Improvements
scriptsfolder and introduced dynamic method loading to prevent import errors.SELECTED_SCHEMA_VERSIONandAVAILABLE_SCHEMA_VERSIONSin generateddrivers.pyfor easy access to the currently configured model version and available versions during development and runtime.get-videoipath-version) and list all available model versions (list-videoipath-versions).2023.4.37.2024.4.12(LTS). Regenerateddrivers.pyand updated the documentation accordingly.